#pragma once
#include "afxwin.h"
#include "ACEdit.h"


// CDlgEditStaff dialog

class CDlgEditStaff : public CDialog
{
	DECLARE_DYNAMIC(CDlgEditStaff)

public:
	CDlgEditStaff(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgEditStaff();
	virtual BOOL OnInitDialog();
	virtual void OnOK();

	afx_msg void OnBnClickedButtonPassword();
	afx_msg void OnBnClickedButtonDelete();

	afx_msg void OnBnClickedCheckEnableDefaultCollection();
	afx_msg void OnBnClickedCheckEnableDefaultIllLibrary();

// Dialog Data
	enum { IDD = IDD_DIALOG_EDIT_STAFF };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()

public:
	BOOL m_bAddStaff;
	BOOL m_bChangePwd;
	BOOL m_bEditUser;

	LONG m_nStaffID;
	CString m_szID;
	CString m_szDateLogin;
	CString m_szUserName;
	CString m_szUserEmail;
	CString m_szUserPhone;
	CString m_szUserLevel;
	CString m_szLibraryID;
	BOOL m_bShowTriage;
	BOOL m_bShowHighlights;
	BOOL m_bHighlightDuplicate;
	BOOL m_bSortAscending;
	BOOL m_bBoldEmailOnPrint;
	BOOL m_bShowLibraryView;
	BOOL m_bShowMyView;
	BOOL m_bShowInProcessView;
	BOOL m_bShowCurrentView;
	BOOL m_bShowCompletedView;
	BOOL m_bShowHoldView;
	BOOL m_bEnableThumbnail;
	CString m_szUserPassword;
	BOOL m_bUsePrintTemplate;
	LONG m_nPrintPerPage;
	CACEdit m_ctrlCollection;
	CACEdit m_ctrlILLLibrary;
	CStringArray m_szaCollection;
	CStringArray m_szaILLLibrary;
	INT m_nCollectionID;
	INT m_nILLLibraryID;
	BOOL m_bEnableDefaultCollection;
	BOOL m_bEnableDefaultILLLibrary;	
	BOOL m_bPromptMaterial;
};
